package cn.iocoder.an.module.business.controller.admin.equipmentcheckrecord.vo;

import cn.iocoder.an.module.business.dal.dataobject.equipmentcheckrecorddetail.EquipmentCheckRecordDetailDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 点检记录新增/修改 Request VO")
@Data
public class EquipmentCheckRecordSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16773")
    private Long id;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10564")
    @NotNull(message = "设备id不能为空")
    private Long equipmentId;

    @Schema(description = "点检人")
    private Long checkUser;

    private String checkUserName;

    private LocalDateTime checkTime;

    @Schema(description = "点检结果 1通过 2不通过")
    private Integer checkResult;

    @Schema(description = "点检通过项ID", example = "30800")
    private List<Long> checkItemId;

    private String remark;

    private List<EquipmentCheckRecordDetailDO> detailDO;

}